  <!-- pane页面顶部操作条 -->
<template>
    <div>
          <el-form :inline="true">
			<el-form-item label="名称：">
			  	 <el-input v-model.trim="name"></el-input>
			</el-form-item>
            <el-button type="primary"  @click="$emit('searchList',1)" id="monitorEnter">查询</el-button>
            <el-button type="primary"  @click="$emit('add')">新增</el-button>
            <el-button type="primary"  @click="$emit('push')">导入</el-button>
		</el-form>
    </div>
</template>
<script>
import api from '@/api/apiPath'

export default {
	  data () {
      return {
              name:'',
          }
    },
    watch:{
      name(){
        this.$emit('update:searchName',this.name);
      }
    },
    props:['searchName']
    
    
}

</script>

<style lang="stylus">

</style>
